package com.github.maojx0630.onebot.dto.send;

import lombok.Getter;

import java.util.List;

@Getter
public class SendDto {

  private final boolean at;

  private final List<Send> message;

  private SendDto(boolean at, List<Send> message) {
    this.at = at;
    this.message = message;
  }

  public static SendDto at(List<Send> sends) {
    return new SendDto(true, sends);
  }

  public static SendDto noAt(List<Send> sends) {
    return new SendDto(false, sends);
  }
}
